#ifndef WRITER_H
#define WRITER_H

#include "Stream.h"

namespace Lyt
{
	namespace IO
	{
		class StreamWriter
		{
		public:
			IStream* Stream;

			StreamWriter(IStream* ObjectStream);
			StreamWriter(const WString FileName);
			virtual ~StreamWriter();

			bool IsAvailable()const;
			void Close();
			void Write(const WString Object);
			void WriteLine(const WString Object);
		};
	}
}

#endif